package com.itheima.innerClass.test1;

public class Test {
    public static void main(String[] args) {
        Cat cat = new Cat();
        cat.eat();

        new Animal(){
            @Override
            public void eat() {
                System.out.println("狗吃肉???????");
            }
        }.eat();
    }
}
